package org.magnerfuller.imtoolkit.server.service;

import java.io.*;
import java.util.Map;

import org.magnerfuller.imtoolkit.server.naming.NamedModule;

public abstract class ServiceBackend extends Thread implements NamedModule {
	
	public ServiceBackend() {
		super();
	}
	
	public abstract void initialize(Map<String, String> params) throws Exception;
	
	public abstract InputStream getInputStream();
	
	public abstract OutputStream getOutputStream();
	
	public abstract void run();
	
}
